package com.colorlight.cloud.complete.entity.po;

import com.colorlight.cloud.gateway.api.message.constraint.basics.object.Trans;
import com.colorlight.iot.proto.complete.entity.CompleteEntity;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class TimingInfo implements Trans<TimingInfo, CompleteEntity.TimingInfo> {

    /**
     * 执行时间
     */
    private Integer time;

    /**
     * 是否按星期执行
     */
    private Boolean bWeekExec;

    /**
     * 星期启用标志
     */
    private WeekFlag weekFlag;
}

